package io.renren.modules.app.entity.nosql;

import java.io.Serializable;
import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * pdf 日志
 * 
 * @author Administrator
 *
 */
@Data
@Accessors(chain = true)
@Document(collection = "pdf_log")
public class PdfLog implements Serializable {
	private static final long serialVersionUID = 7783823451275134491L;

	@Id
	private String id;
	/** 用户操作类型 */
	private Type type;
	private String ip;
	private String userName;

	/** 日志操作内容 */
	private String content;
	private Date createTime;

	public enum Type {
		/** 更新签名 */
		updateQm, lookPdf;
	}

}
